import React, { useEffect } from "react";
import A from "@comps/A/A";
import axios from 'axios'
export default function B() {
  //发送请求
  useEffect(() => {
    axios.get('/meituan/ptapi/getHotFilms?ci=1&limit=10').then(v => {
      console.log(v);
    })
  }, [])
  return (
    <>
      <div>B</div>
      <A />
      <h2>项目名称为: {process.env.REACT_APP_NAME}</h2>
    </>
  );
}
